<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>李明的个人主页 - 友趣社交</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        :root {
            --primary: #4361ee;
            --primary-light: #7209b7;
            --secondary: #3f37c9;
            --accent: #4895ef;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --light-gray: #e9ecef;
            --success: #38b000;
            --danger: #e63946;
            --warning: #ffb703;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }
        
        body {
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #f5f7fa;
            color: var(--dark);
            line-height: 1.6;
        }
        
        .navbar {
            background-color: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            padding: 0.8rem 1rem;
        }
        
        .navbar-brand {
            color: var(--primary);
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 1.4rem;
        }
        
        .nav-link {
            color: var(--dark);
            font-weight: 500;
            margin: 0 5px;
            transition: var(--transition);
        }
        
        .nav-link:hover, .nav-link.active {
            color: var(--primary);
        }
        
        .main-container {
            padding: 2rem 0;
        }
        
        /* 个人资料头部 */
        .profile-header {
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow);
            margin-bottom: 2rem;
        }
        
        .cover-photo {
            height: 240px;
            background: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%);
            position: relative;
        }
        
        .cover-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.8;
        }
        
        .profile-actions {
            position: absolute;
            top: 1rem;
            right: 1rem;
            display: flex;
            gap: 0.75rem;
        }
        
        .profile-avatar {
            display: flex;
            justify-content: center;
            margin-top: -80px;
        }
        
        .avatar-img {
            width: 160px;
            height: 160px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid white;
            box-shadow: var(--shadow);
        }
        
        .profile-info {
            text-align: center;
            padding: 1rem 2rem 2rem;
        }
        
        .profile-name {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .profile-title {
            color: var(--gray);
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }
        
        .profile-meta {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
            color: var(--gray);
        }
        
        .meta-item i {
            color: var(--primary);
        }
        
        .connection-status {
            display: inline-block;
            padding: 3px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 1rem;
        }
        
        .status-connected {
            background-color: rgba(56, 176, 0, 0.15);
            color: var(--success);
        }
        
        .status-pending {
            background-color: rgba(255, 183, 3, 0.15);
            color: var(--warning);
        }
        
        .status-not-connected {
            background-color: rgba(230, 57, 70, 0.15);
            color: var(--danger);
        }
        
        .action-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }
        
        .btn-primary {
            background-color: var(--primary);
            border-color: var(--primary);
        }
        
        .btn-primary:hover {
            background-color: var(--secondary);
            border-color: var(--secondary);
        }
        
        .btn-outline-primary {
            color: var(--primary);
            border-color: var(--primary);
        }
        
        .btn-outline-primary:hover {
            background-color: var(--primary);
            color: white;
        }
        
        /* 内容区域 */
        .content-container {
            display: flex;
            gap: 2rem;
        }
        
        .sidebar {
            flex: 1;
            max-width: 320px;
        }
        
        .main-content {
            flex: 2;
        }
        
        .card {
            background-color: white;
            border-radius: 12px;
            box-shadow: var(--shadow);
            margin-bottom: 2rem;
            overflow: hidden;
            transition: var(--transition);
        }
        
        .card:hover {
            box-shadow: var(--shadow-hover);
        }
        
        .card-header {
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .card-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .card-title i {
            color: var(--primary);
        }
        
        .card-body {
            padding: 1.5rem;
        }
        
        /* 个人信息 */
        .info-item {
            display: flex;
            margin-bottom: 1rem;
        }
        
        .info-label {
            flex: 1;
            color: var(--gray);
            font-weight: 500;
        }
        
        .info-value {
            flex: 2;
        }
        
        /* 兴趣爱好 */
        .interests {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        
        .interest-tag {
            background-color: rgba(67, 97, 238, 0.1);
            color: var(--primary);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        /* 共同好友 */
        .friends-list {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .friend-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 80px;
        }
        
        .friend-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 0.5rem;
            border: 2px solid var(--light-gray);
        }
        
        .friend-name {
            font-size: 0.9rem;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 100%;
        }
        
        /* 动态和留言区域 */
        .nav-tabs {
            border-bottom: 1px solid var(--light-gray);
            margin-bottom: 1.5rem;
        }
        
        .nav-tabs .nav-link {
            color: var(--gray);
            border: none;
            border-bottom: 3px solid transparent;
            padding: 0.75rem 1.5rem;
            font-weight: 500;
        }
        
        .nav-tabs .nav-link.active {
            color: var(--primary);
            border-bottom-color: var(--primary);
        }
        
        /* 留言板 */
        .message-form {
            margin-bottom: 2rem;
        }
        
        .message-input {
            width: 100%;
            border: 1px solid var(--light-gray);
            border-radius: 8px;
            padding: 1rem;
            resize: none;
            margin-bottom: 1rem;
            transition: var(--transition);
        }
        
        .message-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
        }
        
        .message-actions {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
        }
        
        /* 留言列表 */
        .messages-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .message-item {
            display: flex;
            gap: 1rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .message-item:last-child {
            border-bottom: none;
        }
        
        .message-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
        }
        
        .message-content {
            flex: 1;
        }
        
        .message-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }
        
        .message-author {
            font-weight: 600;
        }
        
        .message-time {
            color: var(--gray);
            font-size: 0.85rem;
        }
        
        .message-text {
            margin-bottom: 0.75rem;
            line-height: 1.6;
        }
        
        .message-actions {
            display: flex;
            gap: 1.5rem;
            font-size: 0.9rem;
        }
        
        .message-action {
            color: var(--gray);
            display: flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .message-action:hover {
            color: var(--primary);
        }
        
        /* 回复区域 */
        .replies {
            margin-top: 1rem;
            margin-left: 2rem;
            padding-left: 1rem;
            border-left: 2px solid var(--light-gray);
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .reply-item {
            display: flex;
            gap: 0.75rem;
        }
        
        .reply-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
        }
        
        .reply-content {
            flex: 1;
        }
        
        .reply-form {
            margin-top: 1rem;
            display: flex;
            gap: 0.75rem;
        }
        
        .reply-input {
            flex: 1;
            border: 1px solid var(--light-gray);
            border-radius: 20px;
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
        }
        
        .reply-input:focus {
            outline: none;
            border-color: var(--primary);
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .content-container {
                flex-direction: column;
            }
            
            .sidebar {
                max-width: 100%;
            }
            
            .cover-photo {
                height: 180px;
            }
            
            .avatar-img {
                width: 120px;
                height: 120px;
                margin-top: -60px;
            }
        }
        
        @media (max-width: 576px) {
            .profile-name {
                font-size: 1.5rem;
            }
            
            .profile-meta {
                gap: 1rem;
                font-size: 0.9rem;
            }
            
            .action-buttons {
                flex-direction: column;
            }
            
            .action-buttons .btn {
                width: 100%;
            }
            
            .card-header, .card-body {
                padding: 1rem;
            }
            
            .friend-item {
                width: 70px;
            }
            
            .friend-avatar {
                width: 50px;
                height: 50px;
            }
        }
        
        /* 页脚样式 */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 3rem 0 2rem;
            margin-top: 3rem;
        }
        
        .footer-col {
            margin-bottom: 2rem;
        }
        
        .footer-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }
        
        .footer-links {
            list-style: none;
            padding: 0;
        }
        
        .footer-links li {
            margin-bottom: 0.5rem;
        }
        
        .footer-links a {
            color: var(--light-gray);
            text-decoration: none;
            transition: var(--transition);
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .copyright {
            text-align: center;
            padding-top: 2rem;
            margin-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--light-gray);
            font-size: 0.9rem;
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg">
        <div class="container">
            <a class="navbar-brand" href="#">
                <i class="fas fa-users"></i>
                <span>友趣</span>
            </a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav me-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="#">首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">交友匹配</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">兴趣小组</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">活动中心</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="#">消息</a>
                    </li>
                </ul>
                
                <div class="d-flex align-items-center gap-3">
                    <div class="dropdown">
                        <button class="btn btn-secondary dropdown-toggle rounded-circle" type="button" data-bs-toggle="dropdown">
                            <img src="https://picsum.photos/id/64/40/40" alt="用户头像" width="36" height="36" class="rounded-circle">
                        </button>
                        <ul class="dropdown-menu dropdown-menu-end">
                            <li><a class="dropdown-item" href="#">个人主页</a></li>
                            <li><a class="dropdown-item" href="#">我的好友</a></li>
                            <li><a class="dropdown-item" href="#">设置</a></li>
                            <li><hr class="dropdown-divider"></li>
                            <li><a class="dropdown-item" href="#">退出登录</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </nav>

    <!-- 主要内容 -->
    <div class="container main-container">
        <!-- 个人资料头部 -->
        <div class="profile-header">
            <div class="cover-photo">
                <img src="https://picsum.photos/id/1048/1200/400" alt="封面照片" class="w-100 h-100">
                <div class="profile-actions">
                    <button class="btn btn-light btn-sm rounded-circle" title="举报用户">
                        <i class="fas fa-flag"></i>
                    </button>
                    <button class="btn btn-light btn-sm rounded-circle" title="分享个人主页">
                        <i class="fas fa-share-alt"></i>
                    </button>
                </div>
            </div>
            
            <div class="profile-avatar">
                <img src="https://picsum.photos/id/1012/200/200" alt="李明的头像" class="avatar-img">
            </div>
            
            <div class="profile-info">
                <h1 class="profile-name">李明</h1>
                <p class="profile-title">音乐制作人 | 独立音乐爱好者</p>
                
                <div class="profile-meta">
                    <div class="meta-item">
                        <i class="fas fa-map-marker-alt"></i>
                        <span>北京市</span>
                    </div>
                    <div class="meta-item">
                        <i class="fas fa-birthday-cake"></i>
                        <span>28岁</span>
                    </div>
                    <div class="meta-item">
                        <i class="fas fa-calendar-plus"></i>
                        <span>加入于 2022年3月</span>
                    </div>
                    <div class="meta-item">
                        <i class="fas fa-clock"></i>
                        <span>今天活跃</span>
                    </div>
                </div>
                
                <span class="connection-status status-not-connected">尚未建立连接</span>
                
                <div class="action-buttons">
                    <button class="btn btn-primary">
                        <i class="fas fa-comment"></i> 发消息
                    </button>
                    <button class="btn btn-outline-primary">
                        <i class="fas fa-user-plus"></i> 加为好友
                    </button>
                    <button class="btn btn-outline-primary">
                        <i class="fas fa-star"></i> 关注
                    </button>
                </div>
            </div>
        </div>
        
        <!-- 内容区域 -->
        <div class="content-container">
            <!-- 侧边栏 -->
            <div class="sidebar">
                <!-- 个人简介 -->
                <div class="card">
                    <div class="card-header">
                        <h3 class="card-title">
                            <i class="fas fa-user"></i> 个人简介
                        </h3>
                    </div>
                    <div class="card-body">
                        <p>音乐制作人，毕业于北京现代音乐研修学院。擅长独立音乐和民谣创作，拥有5年音乐制作经验。</p>
                        <p>每周都会去不同的livehouse，喜欢现场音乐的氛围。收藏了超过300张黑胶唱片，欢迎交流音乐心得。</p>
                        <p>目前正在筹备个人首张专辑，希望认识更多音乐爱好者和行业伙伴。</p>
                    </div>
                </div>
                
                <!-- 基本信息 -->
                <div class="card">
                    <div class="card-header">
                        <h3 class="card-title">
                            <i class="fas fa-info-circle"></i> 基本信息
                        </h3>
                    </div>
                    <div class="card-body">
                        <div class="info-item">
                            <div class="info-label">性别</div>
                            <div class="info-value">男</div>
                        </div>
                        <div class="info-item">
                            <div class="info-label">生日</div>
                            <div class="info-value">1995年6月12日</div>
                        </div>
                        <div class="info-item">
                            <div class="info-label">职业</div>
                            <div class="info-value">音乐制作人</div>
                        </div>
                        <div class="info-item">
                            <div class="info-label">教育背景</div>
                            <div class="info-value">北京现代音乐研修学院</div>
                        </div>
                        <div class="info-item">
                            <div class="info-label">感情状态</div>
                            <div class="info-value">单身</div>
                        </div>
                        <div class="info-item">
                            <div class="info-label">联系方式</div>
                            <div class="info-value">仅好友可见</div>
                        </div>
                    </div>
                </div>
                
                <!-- 兴趣爱好 -->
                <div class="card">
                    <div class="card-header">
                        <h3 class="card-title">
                            <i class="fas fa-hobbies"></i> 兴趣爱好
                        </h3>
                    </div>
                    <div class="card-body">
                        <div class="interests">
                            <span class="interest-tag">
                                <i class="fas fa-music"></i> 独立音乐
                            </span>
                            <span class="interest-tag">
                                <i class="fas fa-compact-disc"></i> 黑胶唱片
                            </span>
                            <span class="interest-tag">
                                <i class="fas fa-guitar"></i> 吉他
                            </span>
                            <span class="interest-tag">
                                <i class="fas fa-microphone"></i> 现场演出
                            </span>
                            <span class="interest-tag">
                                <i class="fas fa-music"></i> 民谣
                            </span>
                            <span class="interest-tag">
                                <i class="fas fa-video"></i> 音乐纪录片
                            </span>
                            <span class="interest-tag">
                                <i class="fas fa-headphones"></i> 音响设备
                            </span>
                            <span class="interest-tag">
                                <i class="fas fa-music"></i> 音乐制作
                            </span>
                        </div>
                    </div>
                </div>
                
                <!-- 共同好友 -->
                <div class="card">
                    <div class="card-header">
                        <h3 class="card-title">
                            <i class="fas fa-users"></i> 共同好友 (3)
                        </h3>
                    </div>
                    <div class="card-body">
                        <div class="friends-list">
                            <div class="friend-item">
                                <img src="https://picsum.photos/id/1027/100/100" alt="好友头像" class="friend-avatar">
                                <span class="friend-name">张小艺</span>
                            </div>
                            <div class="friend-item">
                                <img src="https://picsum.photos/id/1074/100/100" alt="好友头像" class="friend-avatar">
                                <span class="friend-name">王乐队</span>
                            </div>
                            <div class="friend-item">
                                <img src="https://picsum.photos/id/1062/100/100" alt="好友头像" class="friend-avatar">
                                <span class="friend-name">刘DJ</span>
                            </div>
                        </div>
                        <button class="btn btn-sm btn-link text-primary mt-2 p-0">
                            查看全部好友
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- 主要内容区 -->
            <div class="main-content">
                <!-- 内容标签页 -->
                <ul class="nav nav-tabs" id="profileTabs" role="tablist">
                    <li class="nav-item" role="presentation">
                        <button class="nav-link active" id="posts-tab" data-bs-toggle="tab" data-bs-target="#posts" type="button" role="tab">
                            动态
                        </button>
                    </li>
                    <li class="nav-item" role="presentation">
                        <button class="nav-link" id="messages-tab" data-bs-toggle="tab" data-bs-target="#messages" type="button" role="tab">
                            留言板
                        </button>
                    </li>
                    <li class="nav-item" role="presentation">
                        <button class="nav-link" id="photos-tab" data-bs-toggle="tab" data-bs-target="#photos" type="button" role="tab">
                            照片
                        </button>
                    </li>
                    <li class="nav-item" role="presentation">
                        <button class="nav-link" id="events-tab" data-bs-toggle="tab" data-bs-target="#events" type="button" role="tab">
                            参与活动
                        </button>
                    </li>
                </ul>
                
                <div class="tab-content" id="profileTabsContent">
                    <!-- 动态标签页 -->
                    <div class="tab-pane fade show active" id="posts" role="tabpanel">
                        <!-- 动态内容 -->
                        <div class="card">
                            <div class="card-header">
                                <h3 class="card-title">
                                    <i class="fas fa-newspaper"></i> 最新动态
                                </h3>
                            </div>
                            <div class="card-body">
                                <!-- 动态1 -->
                                <div class="message-item">
                                    <img src="https://picsum.photos/id/1012/100/100" alt="李明的头像" class="message-avatar">
                                    <div class="message-content">
                                        <div class="message-header">
                                            <span class="message-author">李明</span>
                                            <span class="message-time">今天 14:30</span>
                                        </div>
                                        <div class="message-text">
                                            <p>今天去了愚公移山livehouse看了重塑雕像的权利的演出，太震撼了！现场氛围超棒，分享几张照片。</p>
                                            <div class="row mt-3">
                                                <div class="col-4">
                                                    <img src="https://picsum.photos/id/1035/300/200" alt="演出照片1" class="img-fluid rounded">
                                                </div>
                                                <div class="col-4">
                                                    <img src="https://picsum.photos/id/1039/300/200" alt="演出照片2" class="img-fluid rounded">
                                                </div>
                                                <div class="col-4">
                                                    <img src="https://picsum.photos/id/1059/300/200" alt="演出照片3" class="img-fluid rounded">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="message-actions">
                                            <span class="message-action">
                                                <i class="far fa-heart"></i> 喜欢 (24)
                                            </span>
                                            <span class="message-action">
                                                <i class="far fa-comment"></i> 评论 (8)
                                            </span>
                                            <span class="message-action">
                                                <i class="far fa-share-square"></i> 分享
                                            </span>
                                        </div>
                                        
                                        <!-- 评论 -->
                                        <div class="replies">
                                            <div class="reply-item">
                                                <img src="https://picsum.photos/id/1027/100/100" alt="评论者头像" class="reply-avatar">
                                                <div class="reply-content">
                                                    <div class="message-header">
                                                        <span class="message-author">张小艺</span>
                                                        <span class="message-time">今天 15:12</span>
                                                    </div>
                                                    <div class="message-text">
                                                        <p>太羡慕了！我也很想去看他们的演出，但票卖完了😭</p>
                                                    </div>
                                                    <div class="message-actions">
                                                        <span class="message-action">
                                                            <i class="far fa-heart"></i> 喜欢 (3)
                                                        </span>
                                                        <span class="message-action">
                                                            <i class="far fa-comment"></i> 回复
                                                        </span>
                                                    </div>
                                                </div>
                                            </div>
                                            
                                            <div class="reply-form">
                                                <img src="https://picsum.photos/id/64/100/100" alt="你的头像" class="reply-avatar">
                                                <input type="text" class="reply-input" placeholder="添加评论...">
                                                <button class="btn btn-primary btn-sm">回复</button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                
                                <!-- 动态2 -->
                                <div class="message-item">
                                    <img src="https://picsum.photos/id/1012/100/100" alt="李明的头像" class="message-avatar">
                                    <div class="message-content">
                                        <div class="message-header">
                                            <span class="message-author">李明</span>
                                            <span class="message-time">昨天 09:15</span>
                                        </div>
                                        <div class="message-text">
                                            <p>新收到的黑胶唱片，Radiohead的《OK Computer》，这张专辑对我的音乐创作影响很大。有同样喜欢Radiohead的朋友吗？</p>
                                            <img src="https://picsum.photos/id/1073/600/400" alt="黑胶唱片照片" class="img-fluid rounded mt-3">
                                        </div>
                                        <div class="message-actions">
                                            <span class="message-action">
                                                <i class="far fa-heart"></i> 喜欢 (42)
                                            </span>
                                            <span class="message-action">
                                                <i class="far fa-comment"></i> 评论 (15)
                                            </span>
                                            <span class="message-action">
                                                <i class="far fa-share-square"></i> 分享
                                            </span>
                                        </div>
                                    </div>
                                </div>
                                
                                <!-- 动态3 -->
                                <div class="message-item">
                                    <img src="https://picsum.photos/id/1012/100/100" alt="李明的头像" class="message-avatar">
                                    <div class="message-content">
                                        <div class="message-header">
                                            <span class="message-author">李明</span>
                                            <span class="message-time">3天前</span>
                                        </div>
                                        <div class="message-text">
                                            <p>我的新作品《城市微光》已经在网易云音乐发布了，欢迎大家收听并给我反馈！这是一首关于城市生活的民谣，希望能引起大家的共鸣。</p>
                                            <div class="bg-light p-3 rounded mt-2">
                                                <div class="d-flex align-items-center gap-3">
                                                    <div class="bg-dark text-white p-3 rounded">
                                                        <i class="fas fa-music fa-lg"></i>
                                                    </div>
                                                    <div>
                                                        <div class="font-weight-bold">城市微光 - 李明</div>
                                                        <div class="text-sm text-gray">民谣 · 3:45</div>
                                                    </div>
                                                    <button class="btn btn-primary ms-auto">
                                                        <i class="fas fa-play"></i> 播放
                                                    </button>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="message-actions">
                                            <span class="message-action">
                                                <i class="far fa-heart"></i> 喜欢 (78)
                                            </span>
                                            <span class="message-action">
                                                <i class="far fa-comment"></i> 评论 (23)
                                            </span>
                                            <span class="message-action">
                                                <i class="far fa-share-square"></i> 分享
                                            </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 留言板标签页 -->
                    <div class="tab-pane fade" id="messages" role="tabpanel">
                        <!-- 留言表单 -->
                        <div class="card">
                            <div class="card-header">
                                <h3 class="card-title">
                                    <i class="fas fa-comment-dots"></i> 留言板
                                </h3>
                            </div>
                            <div class="card-body">
                                <div class="message-form">
                                    <textarea class="message-input" rows="4" placeholder="写下你想对李明说的话..."></textarea>
                                    <div class="message-actions">
                                        <button class="btn btn-light">
                                            <i class="fas fa-image"></i> 添加图片
                                        </button>
                                        <button class="btn btn-primary">
                                            <i class="fas fa-paper-plane"></i> 发送留言
                                        </button>
                                    </div>
                                </div>
                                
                                <!-- 留言列表 -->
                                <div class="messages-list">
                                    <!-- 留言1 -->
                                    <div class="message-item">
                                        <img src="https://picsum.photos/id/1074/100/100" alt="留言者头像" class="message-avatar">
                                        <div class="message-content">
                                            <div class="message-header">
                                                <span class="message-author">王乐队</span>
                                                <span class="message-time">2天前</span>
                                            </div>
                                            <div class="message-text">
                                                <p>明哥，上次你推荐的那个录音棚真不错，设备很专业，价格也合理，我已经预定了下周的时间去录制新单曲，多谢推荐！</p>
                                            </div>
                                            <div class="message-actions">
                                                <span class="message-action">
                                                    <i class="far fa-heart"></i> 点赞 (5)
                                                </span>
                                                <span class="message-action">
                                                    <i class="far fa-comment"></i> 回复
                                                </span>
                                            </div>
                                            
                                            <!-- 回复 -->
                                            <div class="replies">
                                                <div class="reply-item">
                                                    <img src="https://picsum.photos/id/1012/100/100" alt="回复者头像" class="reply-avatar">
                                                    <div class="reply-content">
                                                        <div class="message-header">
                                                            <span class="message-author">李明</span>
                                                            <span class="message-time">1天前</span>
                                                        </div>
                                                        <div class="message-text">
                                                            <p>不客气，期待听到你的新作品！他们家的混音师也很专业，可以考虑让他帮忙处理后期。</p>
                                                        </div>
                                                        <div class="message-actions">
                                                            <span class="message-action">
                                                                <i class="far fa-heart"></i> 点赞 (2)
                                                            </span>
                                                            <span class="message-action">
                                                                <i class="far fa-comment"></i> 回复
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    
                                    <!-- 留言2 -->
                                    <div class="message-item">
                                        <img src="https://picsum.photos/id/1027/100/100" alt="留言者头像" class="message-avatar">
                                        <div class="message-content">
                                            <div class="message-header">
                                                <span class="message-author">张小艺</span>
                                                <span class="message-time">1周前</span>
                                            </div>
                                            <div class="message-text">
                                                <p>李老师，上次听了您的讲座，收获很大！特别是关于独立音乐制作的部分，解决了我很多困惑。请问您有推荐的编曲软件吗？</p>
                                            </div>
                                            <div class="message-actions">
                                                <span class="message-action">
                                                    <i class="far fa-heart"></i> 点赞 (12)
                                                </span>
                                                <span class="message-action">
                                                    <i class="far fa-comment"></i> 回复
                                                </span>
                                            </div>
                                            
                                            <!-- 回复 -->
                                            <div class="replies">
                                                <div class="reply-item">
                                                    <img src="https://picsum.photos/id/1012/100/100" alt="回复者头像" class="reply-avatar">
                                                    <div class="reply-content">
                                                        <div class="message-header">
                                                            <span class="message-author">李明</span>
                                                            <span class="message-time">1周前</span>
                                                        </div>
                                                        <div class="message-text">
                                                            <p>谢谢你的认可！对于独立音乐人，我推荐Logic Pro X或者Ableton Live，前者更适合作曲和编曲，后者在现场演出和电子音乐制作方面更有优势。如果是Windows用户，可以考虑Cubase。</p>
                                                        </div>
                                                        <div class="message-actions">
                                                            <span class="message-action">
                                                                <i class="far fa-heart"></i> 点赞 (8)
                                                            </span>
                                                            <span class="message-action">
                                                                <i class="far fa-comment"></i> 回复
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                                
                                                <div class="reply-item">
                                                    <img src="https://picsum.photos/id/1027/100/100" alt="回复者头像" class="reply-avatar">
                                                    <div class="reply-content">
                                                        <div class="message-header">
                                                            <span class="message-author">张小艺</span>
                                                            <span class="message-time">6天前</span>
                                                        </div>
                                                        <div class="message-text">
                                                            <p>非常感谢！我是Mac用户，准备入手Logic Pro X了，以后有问题还想请教您😊</p>
                                                        </div>
                                                        <div class="message-actions">
                                                            <span class="message-action">
                                                                <i class="far fa-heart"></i> 点赞 (3)
                                                            </span>
                                                            <span class="message-action">
                                                                <i class="far fa-comment"></i> 回复
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    
                                    <!-- 留言3 -->
                                    <div class="message-item">
                                        <img src="https://picsum.photos/id/1062/100/100" alt="留言者头像" class="message-avatar">
                                        <div class="message-content">
                                            <div class="message-header">
                                                <span class="message-author">刘DJ</span>
                                                <span class="message-time">2周前</span>
                                            </div>
                                            <div class="message-text">
                                                <p>下周六晚上在糖果俱乐部有个电子音乐派对，有兴趣一起去吗？认识一下那边的几个制作人朋友。</p>
                                            </div>
                                            <div class="message-actions">
                                                <span class="message-action">
                                                    <i class="far fa-heart"></i> 点赞 (7)
                                                </span>
                                                <span class="message-action">
                                                    <i class="far fa-comment"></i> 回复
                                                </span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 照片标签页 -->
                    <div class="tab-pane fade" id="photos" role="tabpanel">
                        <div class="card">
                            <div class="card-header">
                                <h3 class="card-title">
                                    <i class="fas fa-images"></i> 照片相册
                                </h3>
                            </div>
                            <div class="card-body">
                                <div class="row g-3">
                                    <div class="col-4">
                                        <img src="https://picsum.photos/id/1035/300/300" alt="照片1" class="img-fluid rounded cursor-pointer hover-zoom">
                                    </div>
                                    <div class="col-4">
                                        <img src="https://picsum.photos/id/1039/300/300" alt="照片2" class="img-fluid rounded cursor-pointer hover-zoom">
                                    </div>
                                    <div class="col-4">
                                        <img src="https://picsum.photos/id/1059/300/300" alt="照片3" class="img-fluid rounded cursor-pointer hover-zoom">
                                    </div>
                                    <div class="col-4">
                                        <img src="https://picsum.photos/id/1073/300/300" alt="照片4" class="img-fluid rounded cursor-pointer hover-zoom">
                                    </div>
                                    <div class="col-4">
                                        <img src="https://picsum.photos/id/1082/300/300" alt="照片5" class="img-fluid rounded cursor-pointer hover-zoom">
                                    </div>
                                    <div class="col-4">
                                        <img src="https://picsum.photos/id/1083/300/300" alt="照片6" class="img-fluid rounded cursor-pointer hover-zoom">
                                    </div>
                                </div>
                                <button class="btn btn-outline-primary mt-4">
                                    <i class="fas fa-plus"></i> 查看更多照片
                                </button>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 参与活动标签页 -->
                    <div class="tab-pane fade" id="events" role="tabpanel">
                        <div class="card">
                            <div class="card-header">
                                <h3 class="card-title">
                                    <i class="fas fa-calendar-alt"></i> 参与的活动
                                </h3>
                            </div>
                            <div class="card-body">
                                <!-- 活动1 -->
                                <div class="message-item">
                                    <div class="message-content">
                                        <div class="message-header">
                                            <span class="message-author">2023北京独立音乐嘉年华</span>
                                            <span class="message-time">2023年6月15日</span>
                                        </div>
                                        <div class="row">
                                            <div class="col-3">
                                                <img src="https://picsum.photos/id/1035/300/200" alt="活动图片" class="img-fluid rounded">
                                            </div>
                                            <div class="col-9">
                                                <p class="message-text">
                                                    北京最大的独立音乐盛会，汇集了国内外知名独立乐队和音乐人，为期3天的音乐盛宴。
                                                </p>
                                                <div class="d-flex gap-2 mt-2">
                                                    <span class="badge bg-light text-dark">音乐</span>
                                                    <span class="badge bg-light text-dark">现场演出</span>
                                                    <span class="badge bg-light text-dark">北京</span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                
                                <!-- 活动2 -->
                                <div class="message-item">
                                    <div class="message-content">
                                        <div class="message-header">
                                            <span class="message-author">黑胶唱片收藏交流会</span>
                                            <span class="message-time">2023年5月20日</span>
                                        </div>
                                        <div class="row">
                                            <div class="col-3">
                                                <img src="https://picsum.photos/id/1073/300/200" alt="活动图片" class="img-fluid rounded">
                                            </div>
                                            <div class="col-9">
                                                <p class="message-text">
                                                    黑胶唱片爱好者的聚会，分享收藏心得，交换稀有唱片，还有专业的唱片机展示和试听。
                                                </p>
                                                <div class="d-flex gap-2 mt-2">
                                                    <span class="badge bg-light text-dark">黑胶唱片</span>
                                                    <span class="badge bg-light text-dark">音乐收藏</span>
                                                    <span class="badge bg-light text-dark">北京</span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                
                                <!-- 活动3 -->
                                <div class="message-item">
                                    <div class="message-content">
                                        <div class="message-header">
                                            <span class="message-author">独立音乐制作人工作坊</span>
                                            <span class="message-time">2023年4月8日</span>
                                        </div>
                                        <div class="row">
                                            <div class="col-3">
                                                <img src="https://picsum.photos/id/1059/300/200" alt="活动图片" class="img-fluid rounded">
                                            </div>
                                            <div class="col-9">
                                                <p class="message-text">
                                                    面向独立音乐人的制作技巧分享会，包括作曲、编曲、录音和混音等专业知识。
                                                </p>
                                                <div class="d-flex gap-2 mt-2">
                                                    <span class="badge bg-light text-dark">音乐制作</span>
                                                    <span class="badge bg-light text-dark">工作坊</span>
                                                    <span class="badge bg-light text-dark">北京</span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 页脚 -->
    <footer>
        <div class="container">
            <div class="row">
                <div class="col-md-4 footer-col">
                    <h3 class="footer-title">友趣</h3>
                    <p>友趣是一个基于兴趣的社交平台，帮助你找到志同道合的朋友，一起分享快乐，探索世界。</p>
                </div>
                
                <div class="col-md-2 footer-col">
                    <h3 class="footer-title">平台功能</h3>
                    <ul class="footer-links">
                        <li><a href="#">交友推荐</a></li>
                        <li><a href="#">兴趣小组</a></li>
                        <li><a href="#">活动中心</a></li>
                        <li><a href="#">兴趣测试</a></li>
                        <li><a href="#">话题讨论</a></li>
                    </ul>
                </div>
                
                <div class="col-md-2 footer-col">
                    <h3 class="footer-title">关于我们</h3>
                    <ul class="footer-links">
                        <li><a href="#">平台介绍</a></li>
                        <li><a href="#">团队成员</a></li>
                        <li><a href="#">加入我们</a></li>
                        <li><a href="#">联系方式</a></li>
                        <li><a href="#">用户反馈</a></li>
                    </ul>
                </div>
                
                <div class="col-md-4 footer-col">
                    <h3 class="footer-title">联系我们</h3>
                    <ul class="footer-links">
                        <li><i class="fas fa-envelope me-2"></i> contact@youqu.com</li>
                        <li><i class="fas fa-phone me-2"></i> 400-123-4567</li>
                        <li><i class="fas fa-map-marker-alt me-2"></i> 北京市朝阳区创意园区A座501</li>
                    </ul>
                </div>
            </div>
            
            <div class="copyright">
                &copy; 2023 友趣社交平台 版权所有 | 京ICP备12345678号
            </div>
        </div>
    </footer>

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        // 加为好友按钮交互
        document.querySelector('.btn-outline-primary:nth-of-type(1)').addEventListener('click', function() {
            const originalText = this.innerHTML;
            this.innerHTML = '<i class="fas fa-check"></i> 请求已发送';
            this.disabled = true;
            this.classList.remove('btn-outline-primary');
            this.classList.add('btn-success');
            
            // 更新连接状态
            document.querySelector('.connection-status').textContent = '好友请求已发送';
            document.querySelector('.connection-status').classList.remove('status-not-connected');
            document.querySelector('.connection-status').classList.add('status-pending');
        });
        
        // 关注按钮交互
        document.querySelector('.btn-outline-primary:nth-of-type(2)').addEventListener('click', function() {
            this.classList.toggle('btn-primary');
            this.classList.toggle('btn-outline-primary');
            
            if (this.classList.contains('btn-primary')) {
                this.innerHTML = '<i class="fas fa-star"></i> 已关注';
            } else {
                this.innerHTML = '<i class="fas fa-star"></i> 关注';
            }
        });
        
        // 消息和评论点赞功能
        document.querySelectorAll('.message-action').forEach(action => {
            if (action.querySelector('.far.fa-heart')) {
                action.addEventListener('click', function() {
                    const icon = this.querySelector('i');
                    icon.classList.toggle('far');
                    icon.classList.toggle('fas');
                    icon.classList.toggle('text-danger');
                });
            }
        });
        
        // 回复功能
        document.querySelectorAll('.message-action').forEach(action => {
            if (action.querySelector('.far.fa-comment')) {
                action.addEventListener('click', function() {
                    const replyForm = this.closest('.message-content, .reply-content').querySelector('.reply-form');
                    if (replyForm) {
                        replyForm.querySelector('.reply-input').focus();
                    }
                });
            }
        });
    </script>
</body>
</html>
    
